package com.hy.service;

import com.hy.bean.Buytable;
import com.hy.bean.RespBean;

import java.util.List;
import java.util.Map;

/**
* @author ZZW
* @description 针对表【buytable】的数据库操作Service
* @createDate 2024-05-14 22:02:54
*/
public interface BuytableService {
    public List<Map<String,Object>> queryAllByLimit(Integer page, Integer limit) throws Exception;

    public long count() throws Exception;

    long countDetails(Integer id) throws Exception;

    RespBean getBuyTableState(String state);

    List<Map<String, Object>> queryAllDetails(Integer id, Integer page, Integer limit) throws Exception;
}
